
//原始路由数组，添加路由时应在此处添加。
export var origindyroutes = [
    {
        path: '/',
        name: '主页',
        component: () => import('../views/HomeView.vue'),
    },
    {
        path: '/cyj',
        name: '抽油机',
        component: () => import('../views/HomeView.vue'),
        redirect: '/cyj/tj',
        children: [
            {path: 'tj2', name: '抽油机停机2', component: () => import('../views/CyjTJ2.vue')},
        ]
    },
    {
        path: '/jcxx',
        name: '基础信息维护',
        component: () => import('../views/HomeView.vue'),
        children: [
            {path: 'djxxwh', name: '单井信息维护', component: () => import('../views/DJXXWH.vue')},
            {path: 'dwxxwh', name: '单位信息维护', component: () => import('../views/DWXXWH.vue')},
            {path: 'gxxxwh', name: '干线信息维护', component: () => import('../views/GXXXWH.vue')},
        ]
    },
    {
        path: '/system',
        name: '系统管理',
        component: () => import('../views/HomeView.vue'),
        children: [

            {path: 'user', name: '用户管理', component: () => import('../views/User.vue')},
            {path: 'role', name: '角色管理', component: () => import('../views/Role.vue')},
            {path: 'menu', name: '菜单管理', component: () => import('../views/Menu.vue')},
        ]
    }
]